Page({
  data: {
    products: [
      {
        id: 1,
        name: '柏纳欧2024美式重磅高街连帽卫衣男 杏色',
        price: 69,
        image: "https://img10.360buyimg.com/n7/jfs/t1/193810/26/40201/66248/653a47f6F1f7d7a81/f95f5d3ace88f90a.jpg.avif",
        produce:'200+条评价',
        produce1:'Lee Cooper心达成专卖店 进店》',
        url: "/packageD/fl14/fl141"
      },
      {
        id: 2,
        name: '九牧王男装短袖中年格子爸爸衬衣冰凉丝滑 ',
        price: 374,
        image: "https://img11.360buyimg.com/n7/jfs/t1/142808/4/29209/94762/630d8a40Ecdd55bdc/7bd3d14918023659.jpg.avif",
        produce:'500+条评价',
        produce1:'九牧王服饰旗舰店 进店》'
      },
      {
        id: 3,
        name: '特步男子冬季时尚卫衣衬衫时尚百搭简约外套',
        price: 219,
        image: "https://img14.360buyimg.com/n7/jfs/t1/222584/3/17996/45531/634f682fE019d7dc0/fdcf7d77b81bbc21.jpg.avif",
        produce:'59条评价',
        produce1:'特步自营旗舰店 进店》'
      },
      {
        id: 4,
        name: '罗蒙免烫衬衣男士无痕冰丝长袖弹力打底男装',
        price: 249,
        image: "https://img10.360buyimg.com/n7/jfs/t1/198998/1/34254/30394/66345e14F7fae7f6a/8bfb0dd8c6d17d33.jpg.avif",
        produce:'2万+条评价',
        produce1:'罗蒙（ROMON）自营专区 进店》'
      },
      {
        id: 5,
        name: ' JASONWOOD奢侈品牌开衫衬衣百搭休闲上...',
        price: 888,
        image: "https://img14.360buyimg.com/n7/jfs/t1/98372/17/33412/71493/64eb67e8F4dd0caf6/325bd7ecc3c86edd.jpg.avif",
        produce:'32条评价',
        produce1:'JASONWOOD均启专卖店 进店》'
      }
      // 可以继续添加更多商品
    ]
  },

  onProductClick: function (event) {
    const url = event.currentTarget.dataset.url;
    wx.navigateTo({
      url: url
    });
  }
});
